home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
MATHEMAT
/
2632.ZIP
/
MERCURYZ.EXE
/
CARDIOID.EKA
< prev
next >
Wrap
Text File
|
1992-03-24
|
257b
|
11 lines
; Graph of cardioid, a heart-shaped curve.
; Example of parametric plot
r(t) := 2 (COS(t) + 1) ; equation in polar coords
x(t) := r(t) COS(t) ; polar to rectangular conversion
y(t) := r(t) SIN(t)
PLOT y
XAXIS x
GBOUNDS 0, 2 PI